package com.xc.sbdemo.service;

import com.xc.sbdemo.entity.Fruit;

import java.util.List;

public interface FruitService {

    List<Fruit> list();

    Fruit selectById(int id);

    int delete(int id);

    int add(Fruit fruit);

    int update(Fruit fruit);

    Fruit selectByType(String type);
}
